<?php
/**
* card.php
*
* Create on 2016-11-24
* Create by TT
*/
namespace haibao\cms\model\data\nh;

class Card extends \haibao\cms\model\data\Base {
	
	/**
	 * 可用
	 */
	const STATUS_TYPE_USABLE = 0;
	/**
	 * 不可用
	 */
	const STATUS_TYPE_UNUSABLE = 1;
	
	public $StarsId;
	public $TopicId;
	public $Name_CN;
	public $Name_EN;
	public $Status;
	public $PhotoUrl;
	
	public function __construct() {
		parent::__construct ();
		$this->intField ( 'StarsId', 'StarsId' );
		$this->intField ( 'TopicId', 'TopicId' );
		$this->stringField( 'Name_CN', 'Name_CN' );
		$this->stringField ( 'Name_EN', 'Name_EN' );
		$this->intField ( 'Status', 'Status' );
	
		$this->setTableName ( 'NH_Card' );
	}
}